<div>
    <div class="row ">
        <div class="col-md-2" style="padding-right:0px">
            <vc:create path="frame/roleDiv" callBackListener="org"></vc:create>
        </div>
        <div class="col-md-10 margin-top-xs vc-org-page">
            <div class="bg-white border-radius padding">
                <h5 class="role-title">{{roleInfo.curRole.name}}</h5>
                <div class="role-context ">{{roleInfo.curRole.description}}</div>
                <div class="line-x margin-top"></div>
                <div class="role-menu flex justify-start">
                    <div class="item margin-right" :class="{'active':roleInfo.tabName == 'privilege'}"
                         @click="_changeRoleTab('privilege')">功能授权
                    </div>
                    <div class="item margin-right" :class="{'active':roleInfo.tabName == 'community'}"
                         @click="_changeRoleTab('community')">小区授权
                    </div>
                    <div class="item margin-right" :class="{'active':roleInfo.tabName == 'staff'}"
                         @click="_changeRoleTab('staff')">员工关联
                    </div>
                </div>
                <div v-if="roleInfo.tabName == 'privilege'">
                    <vc:create path="frame/privilegeTree"></vc:create>
                </div>
                <div v-if="roleInfo.tabName == 'community'">
                    <vc:create path="frame/roleCommunity"></vc:create>
                </div>
                <div v-if="roleInfo.tabName == 'staff'">
                    <vc:create path="frame/roleStaff"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>